package io.netty.client.Bio;

import java.io.IOException;
import java.io.OutputStream;
import java.net.Socket;

public class socketClient {

    public static void main(String[] args) throws IOException {
        Socket socket = new Socket("127.1.1.2",8989);
        OutputStream outputStream = socket.getOutputStream();
        byte[] bytes = new byte[100];
        bytes = "hello 123".toString().getBytes();
        outputStream.write(bytes);
    }
}
